package com.rocket.bedroom.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rocket.bedroom.pojo.FloorEntity;
import com.rocket.bedroom.pojo.custom.RoomCustomEntity;
import com.rocket.bedroom.pojo.RoomEntity;
import com.rocket.bedroom.pojo.param.RoomParam;

import java.util.List;

/**
 * @Author: 周毅
 * @ClassName:
 * @Description: TODO
 * @Date: Create in 12:41 2020/5/4
 * @ModifyBy:
 */
public interface IRoomService extends IService<RoomEntity> {
    boolean addRoomAndBethByFloor(FloorEntity floorEntity, Integer roomNumber);

    List<RoomCustomEntity> selectRoomCustom(RoomParam roomParam);

    boolean addRoomAndBerth(RoomEntity roomEntity,Integer berthNumber);
}
